package com.bml.architect.data.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: baiml
 * @Title: UserController
 * @ProjectName: 中台技术平台
 * @Depart 中台研发部
 * @Description:
 * @date: 2021/5/8 12:52
 */
@RestController
@RequestMapping("/user")
public class UserController {


    @GetMapping("/{userId}")
    public String getUser(@PathVariable("userId")String userId){

        System.out.println("调用/...");

        return "hello :" + userId;
    }
}
